//
//  BillUserEmailModel.m
//  FinancialStore
//
//  Created by 王晓萌 on 16/8/23.
//  Copyright © 2016年 zhenqiu. All rights reserved.
//

#import "BillUserEmailModel.h"

@implementation BillUserEmailModel


+ (instancetype)getInstance{
    static id  instance = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        instance = [[self alloc] init];
    });
    return instance;
}

+ (NSString *)subEmailWith:(NSString *)string{
    NSRange start = [string rangeOfString:@"."];
    NSString *sub =  [string substringToIndex:start.location];
    return sub;
}

@end
